import org.junit.Test;

/**
 * @author :Colin
 * @version 创建时间: 2021/6/26 12:38
 */
public class Exercise2 {
    public static void main(String[] args) {
        int a=3;
//        System.out.println(a);
//        method(a);
//        System.out.println(a);
    }

    private static void method(int a) {
        a =6;
        System.out.println(a);
    }
    @Test
    public void eat(){
        A o = new A();
        char[] b={'a','b','c'};
        o.play();
        System.out.println(o.a);
        System.out.println(o.b);

    }
}
class A{
    int a=9;
    char[] b={'1','2','3'};

    public void play(){
        a=10;
        b= new char[]{'1', 'b', 'c'};
    }
}
